202602102209 - digital-garden-public-site-setup

Main Topic

Q: How do I publish selected Obsidian notes as a public digital garden while keeping my vault private?

A reliable architecture is to keep your Obsidian vault repo private, and publish only selected notes to a separate digital garden site repository. The site repo is what Vercel deploys. In practice, the Obsidian Digital Garden plugin is designed for this exact workflow.

The core idea:

🌲 Branching Questions

Use the Obsidian Digital Garden plugin to publish notes to a dedicated site repository created from the oleeskild/digitalgarden template. This keeps the vault private while the site is built and deployed from the site repo.

Reasons this is a good default:

Q: How do I set it up end-to-end?

  1. Create the site repository
  1. Configure GitHub credentials for the plugin
  1. Configure the Obsidian Digital Garden plugin
  1. Configure Vercel
  1. Custom domain (optional)

Q: Where should configuration live in the site repo for easy management?

The digital garden template supports a customization entry point in src/helpers/userSetup.js. To keep configuration centralized and easy to update:

Keep styling overrides isolated:

Q: How do I keep the private vault safe while the site is public?

Q: What is the publish workflow, and when does Vercel deploy?

Q: What information do I need to have ready?

References